home *** CD-ROM | disk | FTP | other *** search
/ Scene 96 / Scene 96 International Edition (Zyklop Software) (Disc 2) (1997).iso / misc / coding / cp2dekit / h / cdaudio.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-12-29  |  1.1 KB  |  28 lines

  1. //***************************************************************************
  2. //
  3. // this file is (c) '94-'96 Niklas Beisert
  4. //
  5. // this file is part of the cubic player development kit.
  6. // you may only use/modify/spread this file under the terms stated
  7. // in the cubic player development kit accompanying documentation.
  8. //
  9. //***************************************************************************
  10.  
  11. #ifndef __CDAUDIO_H
  12. #define __CDAUDIO_H
  13.  
  14. unsigned char cdInit();
  15. void cdClose();
  16. unsigned char cdIsCDDrive(unsigned short drive);
  17. unsigned short cdGetTracks(unsigned short drive, unsigned long *starts, unsigned char &first, unsigned short maxtracks);
  18. void cdLockTray(unsigned short drive, unsigned char lock);
  19. unsigned long cdGetHeadLocation(unsigned short drive, unsigned short &stat);
  20. void cdPlay(unsigned short drive, unsigned long start, unsigned long len);
  21. void cdStop(unsigned short drive);
  22. void cdRestart(unsigned short drive);
  23. void cdSetVolumes(unsigned short drive, unsigned char left, unsigned char right);
  24. void cdGetVolumes(unsigned short drive, unsigned char &left, unsigned char &right);
  25.  
  26.  
  27. #endif
  28.